\hypertarget{class_q_qt_table_model}{}\section{Q\+Qt\+Table\+Model Class Reference}
\label{class_q_qt_table_model}\index{Q\+Qt\+Table\+Model@{Q\+Qt\+Table\+Model}}


The \mbox{\hyperlink{class_q_qt_table_model}{Q\+Qt\+Table\+Model}} class Q\+Q\+T\+Sql\+Relational\+Table\+Model 方便起见，仅仅使用这个model.  




{\ttfamily \#include $<$qqttablemodel.\+h$>$}

Inheritance diagram for Q\+Qt\+Table\+Model\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{class_q_qt_table_model}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_qt_table_model_a8d8dcf5f348d990d0dae3b0947117d20}\label{class_q_qt_table_model_a8d8dcf5f348d990d0dae3b0947117d20}} 
{\bfseries Q\+Qt\+Table\+Model} (Q\+Object $\ast$parent=0, Q\+Sql\+Database db=Q\+Sql\+Database())
\item 
\mbox{\Hypertarget{class_q_qt_table_model_a18d285e1ea5507c65085e35115c7b684}\label{class_q_qt_table_model_a18d285e1ea5507c65085e35115c7b684}} 
void {\bfseries query} (Q\+String filter=\char`\"{}\char`\"{})
\item 
\mbox{\Hypertarget{class_q_qt_table_model_a30586a50119c007d888d6f1a9480a77f}\label{class_q_qt_table_model_a30586a50119c007d888d6f1a9480a77f}} 
Q\+Variant {\bfseries data} (const Q\+Model\+Index \&item, int role=Qt\+::\+Display\+Role) const
\item 
\mbox{\Hypertarget{class_q_qt_table_model_a79011c20d02c82ed60a24247a7e6cb1c}\label{class_q_qt_table_model_a79011c20d02c82ed60a24247a7e6cb1c}} 
bool {\bfseries set\+Data} (const Q\+Model\+Index \&item, const Q\+Variant \&value, int role=Qt\+::\+Edit\+Role)
\item 
\mbox{\Hypertarget{class_q_qt_table_model_a0c5feb1d88882a8610a64f7f40d47670}\label{class_q_qt_table_model_a0c5feb1d88882a8610a64f7f40d47670}} 
Qt\+::\+Item\+Flags {\bfseries flags} (const Q\+Model\+Index \&index) const
\end{DoxyCompactItemize}


\subsection{Detailed Description}
The \mbox{\hyperlink{class_q_qt_table_model}{Q\+Qt\+Table\+Model}} class Q\+Q\+T\+Sql\+Relational\+Table\+Model 方便起见，仅仅使用这个model. 

The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/gui/qqttablemodel.\+h\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/gui/qqttablemodel.\+cpp\end{DoxyCompactItemize}
